package com.mgg.goods.service;

import com.mgg.goods.entity.GoodsDO;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

/**
 * @Author: lijun
 * @Date: 2018/9/11 9:44
 */
public interface BaseGoodsService {

    GoodsDO getGoodsById(String goodsId);

    List<GoodsDO> listGoodsByCategoryId(String categoryId, String sort, String status, Pageable page);

    List<GoodsDO> listHotGoodsByFirstCategoryId(String categoryId, String sort, String status);

    List<GoodsDO> listGoodsByFirstCategoryId(String categoryId, String sort, String status, Pageable page);

    List<GoodsDO> listGoodsByPlateId(String plateId, String is_rand, String sort, String status, Pageable page);

    List<GoodsDO> listGoodsByPlateType(Integer plateType, String sort, String status, Pageable page);

    List<GoodsDO> listGoodsByName(String name, String sort, String status, String goodsType, Pageable page);

    List<GoodsDO> listGoodsByStoreCode(String storeCode, String sort, String status, Boolean isRecommend, Pageable page);

}
